${page.setTitle("旅行就医 | 订单详情")}
<div class="gp-rms-orderdetail rms-template" id="g-cfg" data-fo-totop="0"  >
	<div class="header"></div>
	<div class="g-container g-clear">
		<h1>订单详情</h1>
		<p class="detail"><span>订单编号：<em><#if order??>${order.id}</#if></em></span>订单状态：<em><#if order??>${webUtil.getOrderStatus(order.status)}</#if></em>
		 <#if order??>
		 	<#if order.status!="paid"&&order.status!="canceling"&&order.status!="cancel"&&order.status!="success">
		 	<a class="gbs gbt-orange" href="${rmsServer}/alipay/payment/init?orderid=${order.id}" target="_blank">立即支付</a>
		 	</#if>
		 </#if>
		 <!--<a href="javascript:;" class="gbs gbt-gray">取消</a>--></p>
		<table class="formation-box ">
			<colgroup>
				<col width="60px">
				<col width="650px">
			    <col width="150px"/>
			</colgroup>
			<tbody>
				  <tr  class="package-info"> 
				  	<td class="tip">套餐信息</td>
				  	<td>
				  		<ul>
				  			<#if (flightOrders??)&&(flightOrders?size>0)>
				    		<li><label>机票：</label>
					    		<span>
					    				<#list flightOrders as forder>
					    					${dateUtil.formatYmdHm(forder.takeoffTime)}(${forder.dPortName}) 至 ${dateUtil.formatYmdHm(forder.arrivalTime)}(${forder.aPortName}) ${forder.airlineName} ${forder.flight} ${forder.level} <br/>
					    				</#list>
					    		</span>
				    		</li>
				    		</#if>
				  			<#if (trainOrders??)&&(trainOrders?size>0) >
				    		<li><label>火车票：</label>
					    		<span>
					    				<#list trainOrders as torder>
					    					${dateUtil.formatYmdHm(torder.takeoffTime)}(${torder.dname}) 至 ${dateUtil.formatYmdHm(torder.arrivalTime)}(${torder.aname})  ${torder.trainNo} <#if torder.trainType=="高速">高铁<#else>${torder.trainType}</#if> ${torder.seatType} <br/>
					    				</#list>
					    		</span>
				    		</li>
				    		</#if>
				    		
				    		<#if hotelOrders??>
			    			<li><label>酒店：</label>
				    			<span>
				    				<#list hotelOrders as horder>
				    					<!--汉庭快捷酒店（离医院1.2公里）标准间 3人 2间  3晚 -->
				    					 ${horder.hotelName} ${horder.roomType} ${order.roomCount}（间） ${dateUtil.getDays(horder.outTime,horder.inTime)}（晚）
				    				</#list>
				    			</span>
			    			</li>
			    			</#if>
			    			
			    			<#if pickupOrders??>
			    			<li><label>接机：</label>
			    				<#list pickupOrders as porder>
			    				<span>
			    					${porder.pickCarLevel}
			    				</span>
			    				</#list>
			    			</li>
			    			</#if>
			    			<li><label>陪诊：</label><span>
							    	<#if order??&&order.isAccompany=="yes">
							 	 		需要
							 	 	 	/${webUtil.fenToYuan(order.accompanyFee)}</span>
							 	 	</#if>
							 	 	<#if order??&&order.isAccompany=="no">
							 	 		不需要
							 	 	</#if>
							 	 
			 	 	</li>
				    	</ul>
				  	</td>
				  	<td class="price">
			    	     <label>套餐价</label><br/>￥${webUtil.fenToYuan(order.totalFee)}元
				  	</td>
				 </tr>
				 <tr class="travel-peple">
				 	<td class="tip">出行人员</td>
				 	<td colspan="2">
				 		<#if consumerMap??>
				 			<#list consumerMap?keys as key>
								<dl>
									<#if consumerMap[key]??>
									<dt>${consumerMap[key].name}</dt>
									<dd>${webUtil.getIdCardType(consumerMap[key].idcardType)}</dd>
									<dd>${key}</dd>
									</#if>
								</dl>
							</#list>
						</#if>
				 	</td>
				 </tr>
				 <tr class="link-man">
				 	<td class="tip">联系人</td>
				 	<td colspan="2">
					 	<ul class="g-clear">
							<li><label>姓名：</label><#if order??>${order.contactName}</#if></li>
							<li><label>电话：</label><#if order??>${order.contactMobile}</#if></li>
							<li><label>邮箱：</label><#if order??>${order.contactEmail}</#if></li>
						</ul>
					</td>
				 </tr>
		    </tbody>
	    </table>
	</div>
</div> 